﻿package emusic.api.events 
{
	import emusic.api.feeds.SampleTrackFeed;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	
	public class M3UEvent extends Event
	{
		public static const M3U_RECEIVED:String = "m3u_received_event";
		
		protected var _feed:SampleTrackFeed;
		protected var _requestId:Number;
		
		public function M3UEvent(type:String, feed:SampleTrackFeed, requestId:Number) 
		{
			super(type);
			_feed = feed;
			_requestId = requestId;
		}
		
		public function get feed():SampleTrackFeed { return _feed; }
		public function get requestId():Number { return _requestId; }
	}
}